<?php

class BusinessWechatAction extends WechatAction {
	
	protected function _initialize(){
//	$user=$_SESSION['tel1'];
//	if(empty($user)){
//	$this->redirect('Business/logins');
//dump(ACTION_NAME);exit;
		$freeAuth = array('login','tologin','login');
		if (!in_array(ACTION_NAME, $freeAuth)) {
			empty($_SESSION['tel1']) ? redirect(U('login')) : 1 ;
		}
	}

}

?>